class ClassList {
  int classId;
  String className;
  int classTeacher;
  int isDefault;

  ClassList({this.classId, this.className, this.classTeacher, this.isDefault});

  ClassList.fromJson(Map<String, dynamic> json) {
    classId = json['class_id'];
    className = json['class_name'];
    classTeacher = json['class_teacher'];
    isDefault = json['is_default'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['class_id'] = this.classId;
    data['class_name'] = this.className;
    data['class_teacher'] = this.classTeacher;
    data['is_default'] = this.isDefault;
    return data;
  }
}